package models

import "gorm.io/gorm"

type Film struct {
	gorm.Model
	Name    string  `json:"name" gorm:"type:varchar(30) not null"`
	Price   float64 `json:"price" gorm:"type:decimal(10,2) not null"`
	Info    string  `json:"info" gorm:"type:enum('动作片','喜剧片','科幻片')"`
	Img     string  `json:"img" gorm:"type:varchar(100)"`
	Profile string  `json:"profile" gorm:"type:text"`
	Star    string  `json:"star" gorm:"type:varchar(30)"`
}
